Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add postBuild to the Dockerfile #5841

Merged

Conversation

shaneknapp
Copy link
Contributor

you need to explicitly add postBuild to the Dockerfile for repo2docker to know to build it.

@balajialg

i tested this out on my desktop and the build will fail with Error: unknown flag: --data-dir.

@balajialg
Copy link
Contributor

Ah, thanks a lot @shaneknapp! I didn't know that. I will look into it the reported error now

@shaneknapp
Copy link
Contributor Author

fyi that flag doesn't seem to exist:

(dh) ➜  incoming ./ollama run --help
Run a model

Usage:
  ollama run MODEL [PROMPT] [flags]

Flags:
      --format string      Response format (e.g. json)
  -h, --help               help for run
      --insecure           Use an insecure registry
      --keepalive string   Duration to keep a model loaded (e.g. 5m)
      --nowordwrap         Don't wrap words to the next line automatically
      --verbose            Show timings for response

Environment Variables:
      OLLAMA_HOST                IP Address for the ollama server (default 127.0.0.1:11434)
      OLLAMA_NOHISTORY           Do not preserve readline history

@github-actions github-actions bot added the bash label Jul 3, 2024
@shaneknapp shaneknapp merged commit 98e69a9 into berkeley-dsep-infra:staging Jul 3, 2024
22 checks passed
@shaneknapp shaneknapp deleted the fix-ollama-postBuild branch July 3, 2024 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants